﻿<style>

</style>
<script>
	function xemtruoc(){
		document.getElementById("previewarea").innerHTML=document.getElementById('description').value;
	}
	function sua(title,tags,cat){
		document.getElementById('title').value=title;
		document.getElementById('description').value=document.getElementById('previewarea').innerHTML;
		document.getElementById('post_tags').value=tags;
		document.getElementById('cat').value=cat;
	}
</script>